package com.zttek.photosShareProject.modules.service.share;

import com.zttek.photosShareProject.modules.model.*;

import java.text.DateFormat;
import java.text.SimpleDateFormat;
import java.time.LocalDate;
import java.util.Date;
import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: Y
 * Date: 2017-09-06
 * Time: 23:30
 */
public interface IRankService {

    LocalDate ZERO_DAY = LocalDate.of(2017,9,1);

    RankDay selectRankDay(Integer dayNum) throws Exception;

    RankWeek selectRankWeek(Integer weekNum) throws Exception;

    RankMonth selectRankMonth(Integer monthNum) throws Exception;

    RankAll selectRankAll() throws Exception;

    Integer getDayNum();

    Integer getWeekNum();

    Integer getMonthNum();

    List<Long> Rank2List(Rank rank);
}
